import { NavBar } from 'react-vant'
import { useNavigate } from 'react-router-dom';

function Payed() {

    let navigate = useNavigate()

    return (
        <div className="payed" style={{padding:'0 10px'}}>
            <NavBar
                title="订单结算"
                leftText="返回"
                rightText="查看订单"
                onClickLeft={() => navigate('/Shopbag')}
                onClickRight={() => navigate('/MyTicket')}
            />
            <h1 style={{textAlign: 'center'}}>结算成功!</h1>
        </div>
    )
}

export default Payed;